import React from 'react';
import ReactDOM from 'react-dom/client';

// import App from './02-受控组件';
// import App from './03-受控组件练习';
// import App from './04-非受控组件';
// import { App } from './03-受控组件- B站v2/05-B站评论列表-v2';
// import { App } from './06-Radio';
// import { AppClass, AppFn } from './App';
// import ListParent from './05-父子组件-传值/ListParent';
// import Parent from './06-子到父-传值/Parent';
// import Parent from './07-兄弟组件-传值/Parent';
// import App from './08-夸组件传值-Context.js/App';
// import { App } from './09-B站评论列表-组件抽离/App';
// import App from './10-children-属性/01-ChildrenText';
// import App from './10-children-属性/02-ChildrenComp';
// import App from './10-children-属性/03-ChildrenFn';
// import App from './11-props校验/01-PropsValid';
// import App from './12-生命周期/01-创建阶段';
// import App from './12-生命周期/02-更新阶段';
// import App from './12-生命周期/03-卸载阶段';
// import { App } from './13-B站评论列表-持久化存储/App';
// import { App } from './14-B站评论列表-模拟从服务器获取数据/App';
// import { Counter } from './15-setState-深入分析/01-Counter';
// import { Root } from './16-Hooks/01-API-共存使用';
// import { Counter } from './16-Hooks/02-useState-的使用';
// import { Counter } from './16-Hooks/03-useState-其它类型状态的使用';
// import { Parent } from './16-Hooks/04-useState-初始化-过程-举例';
// import { App1, App2 } from './16-Hooks/05-useState-更新现象2';
// import { CounterClass } from './16-Hooks/06-useEffect-基本使用';
// import { Counter } from './16-Hooks/07-useEffect-依赖';
// import { Counter, App } from './16-Hooks/08-useEffect-清理';
// import { App } from './16-Hooks/09-useEffect-每次状态变化-清理';
// import { App } from './16-Hooks/10-useEffect-依赖要准确';
// import { App } from './16-Hooks/11-useEffect-中获取网络数据';
// import App from './16-Hooks/12-context-API';
// import { App } from './16-Hooks/13-useRef-的使用';
import { App } from './17-B站评论列表-Hoos版本/App';

// 应用（项目）渲染的根节点
const root = ReactDOM.createRoot(document.getElementById('root'));

// 渲染应用
root.render(
  <div>
    <App />
  </div>
);
